package cn.lili.modules.promotion.service;

import cn.lili.modules.promotion.entity.dos.TicketCanvas;
import com.baomidou.mybatisplus.extension.service.IService;

public interface TicketCanvasService extends IService<TicketCanvas> {

    /**
     * 根据区域获取画布
     * @param areaId
     * @param areaDirection
     * @return
     */
    TicketCanvas getByArea (String areaId, String areaDirection);

    /**
     * 根据区域获取画布
     * @param areaName
     * @param areaDirection
     * @return
     */
    TicketCanvas getByAreaName (String areaName, String areaDirection);
}
